package com.qf.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_ordersetting")
public class OrderSetting {

    @TableId(type = IdType.AUTO)
    private Integer id;

    //将java实体的属性和excel文件的列对应起来
    @ExcelProperty("日期")
    private Date orderDate;
    @ExcelProperty("可预约数量")
    private Integer number;
    private Integer reservations = 0;
}
